package edu.zut.cs.software.cms.module.information.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import edu.zut.cs.software.cms.base.web.spring.controller.GenericController;
import edu.zut.cs.software.cms.module.information.domain.InformationStudent;
import edu.zut.cs.software.cms.module.information.service.InformationStudentManager;

/**
 * 
 * @author 42276
 *
 */
@Controller
@RequestMapping("/informationstudent")
public class InformationStudentController extends GenericController<InformationStudent, Long, InformationStudentManager> {
	InformationStudentManager informationStudentManager;

	@RequestMapping(method = RequestMethod.GET, value = "/index.html")
	public String index() {
		String result = "/clazz/index";
		return result;
	}

	@Autowired
	public void setInformationStudentManager(InformationStudentManager informationStudentManager) {
		this.informationStudentManager = informationStudentManager;
		this.manager = this.informationStudentManager;
	}
}